﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<%@ Register Src="~/Views/Home/bookingtool.ascx" TagPrefix="uc1" TagName="bookingtool" %>


<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    联系我们
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

   

    <style>  
.klytd {width:100px;text-align:right  
}  
.hvttd {  
width:500px}  
</style>  
<article id="content">
        <div class="box1">
            <div class="wrapper">
                <uc1:bookingtool runat="server" ID="bookingtool" />
                <div class="col2 pad">
                    <h2>
                        <img src="../../Images/title_marker1.jpg" alt="">联系我们</h2>
                    <form encType=multipart/form-data id="ContactForm" method=post   action=/RoomManage/addMessage>
                        <div>
                            <div class="wrapper">
                                <input type="text" id="name" name="name" class="input">
                                姓名:
                            </div>
                            <div class="wrapper">
                                <input type="text" id="addr" name="addr" class="input">
                                地址:
                            </div>
                            <div class="wrapper">
                                <input type="text" id="email" name="email" class="input">
                                邮箱:								
                            </div>
                            <div class="textarea_box">
                                <textarea name="context" id="context" cols="1" rows="1"></textarea> 内容:							
                            </div>
                            <a href="#" class="button2" onclick="document.getElementById('ContactForm').submit()">发送</a>
                            <a href="#" class="button2" onclick="document.getElementById('ContactForm').reset()">取消</a>
                        </div>
                    </form>
                </div>
            </div>
            <%
                hotel.BLL.tb_message mebll = new hotel.BLL.tb_message();

                foreach (hotel.Model.tb_message mod in mebll.GetModelList(""))
                {
                    if (mod.respuse.Length >0)
                    { %>
            <table>
                <tr>
                    <td class="klytd">留言时间：</td>
                    <td class="hvttd"><%=mod.posttime %></td>
                </tr>
                <tr>
                    <td class="klytd">留言人：</td>
                    <td class="hvttd"><%=mod.Name %></td>
                </tr>
                <tr>
                    <td class="klytd">内容：</td>
                    <td class="hvttd"><%=mod.context %></td>
                </tr>
                <tr>
                    <td class="klytd">回复：</td>
                    <td class="hvttd"><%=mod.respuse %></td>
                </tr>
            </table>
            <br />
            <% }
                }%>
        </div>
        <div class="pad">
            <h2>热线</h2>
            <div class="line2">
                <div class="wrapper line3">
                    <div class="col1">
                        <p class="pad_bot1"><strong class="color2">青龙店</strong></p>
                        <p class="pad_bot1">武侯大道玄武街220号</p>
                        <p class="cols">
                            电话:<br>
                            电话:<br>
                            传真:<br>
                            Email:
                        </p>
                        +1 800 559 6580<br>
                        +1 800 603 6035<br>
                        +1 800 889 9898<br>
                        <a href="mailto:" class="color1">mail@demolink.org</a>
                    </div>
                    <div class="col1 pad_left1">
                        <p class="pad_bot1"><strong class="color2">白虎店</strong></p>
                        <p class="pad_bot1">白虎区苏东坡路7号</p>
                        <p class="cols">
                            电话:<br>
                            电话:<br>
                            传真:<br>
                            Email:
                        </p>
                        +1 800 559 6580<br>
                        +1 800 603 6035<br>
                        +1 800 889 9898<br>
                        <a href="mailto:" class="color1">mail@demolink.org</a>
                    </div>
                    <div class="col1 pad_left1">
                        <p class="pad_bot1"><strong class="color2">朱雀店</strong></p>
                        <p class="pad_bot1">朱雀路28号</p>
                        <p class="cols">
                            电话:<br>
                            电话:<br>
                            传真:<br>
                            Email:
                        </p>
                        +1 800 559 6580<br>
                        +1 800 603 6035<br>
                        +1 800 889 9898<br>
                        <a href="mailto:" class="color1">mail@demolink.org</a>
                    </div>

                </div>
            </div>
        </div>
    </article>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="scriptHolder" runat="server">
     <script type="text/javascript">
       
    </script>
</asp:Content>
